package filestorage;

import java.io.File;

import status.FileItemStatus;

public class FileStoreItem {

	private String hash;
	private String location;
	private String name;
	private File itemFile;
	private File itemHash;
	private File itemStatusFile;
	private FileItemStatus status;
	
	public FileStoreItem() {
		this.hash = "";
		this.location = "";
		this.name = "";
		this.status = new FileItemStatus();
	}
	
	public FileStoreItem(String hash, String location, String name,
			FileItemStatus status) {
		this.hash = hash;
		this.location = location;
		this.name = name;
		this.status = status;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public FileItemStatus getStatus() {
		return status;
	}
	public void setStatus(FileItemStatus status) {
		this.status = status;
	}
	public File getFile() {
		return itemFile;
	}
	public String getHash() {
		return hash;
	}
	public void setHash(String hash) {
		this.hash = hash;
	}
	public String getLocation() {
		return location;
	}
	public void setLocation(String location) {
		this.location = location;
	}
	public File getItemFile() {
		return itemFile;
	}
	public void setItemFile(File itemFile) {
		this.itemFile = itemFile;
	}
	public File getItemHash() {
		return itemHash;
	}
	public void setItemHash(File itemHash) {
		this.itemHash = itemHash;
	}
	public File getItemStatusFile() {
		return itemStatusFile;
	}
	public void setItemStatusFile(File itemStatusFile) {
		this.itemStatusFile = itemStatusFile;
	}
}
